|
PHY CREATE VEHICLE
Creates a new vehicle.
PHY CREATE VEHICLE ID
ID
Integer
identification number of the vehicle, use this to specify the Basic 3D object that is going to be assigned as a vehicle
This is the first stage in the process of creating a vehicle. This command is used to take an existing object and assign it as a vehicle in the simulation. For example, a car model can be loaded into ID 1 and then phy create vehicle is called passing in an ID of 1 which will result in the car model being ready for use as a vehicle in the simluation.
Once a vehicle has been created it is necessary to add body parts and wheels to it using the commands phy add vehicle body and phy add vehicle wheel. Properties can then be set for example the mass of the vehicle using commands such as phy set vehicle mass. When the vehicle is ready and no more changes are required then it can be entered into the simulation using the command phy build vehicle.
No example code is provided for this command
|